package dslab.enums;

public enum Outcome {
    Success,
    UnknownHost("the host could not be reached"),
    ProtocolError("the server has responded unexpectedly"),
    SocketTimeout("the socket connection has timed out"),
    IOError("there was an I/O error");

    private String message;

    Outcome() {}
    Outcome(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
